<%--== Handlers ==--%> <%--modify_item_for_sell Opening Initialization directive @1-A0E75F14--%><%!

// //Workaround for JRun 3.1 @1-F81417CB

//MONEY TextBox Handler Head @5-2D3BF882
    public class ITEMMONEYTextBoxHandler implements ValidationListener {
//End MONEY TextBox Handler Head

//MONEY BeforeShow Method Head @5-46046458
        public void beforeShow(Event e) {
//End MONEY BeforeShow Method Head

//MONEY BeforeShow Method Tail @5-FCB6E20C
        }
//End MONEY BeforeShow Method Tail

//MONEY OnValidate Method Head @5-5F430F8E
        public void onValidate(Event e) {
//End MONEY OnValidate Method Head

//MONEY Required Validation @5-43BB97B9
        {
            Control cntrl = (Control)e.getSource();
            if (cntrl.getValue() == null) {
                cntrl.addError("The value in field " + cntrl.getCaption() + " is required.");
            }
        }
//End MONEY Required Validation

//MONEY OnValidate Method Tail @5-FCB6E20C
        }
//End MONEY OnValidate Method Tail

//MONEY TextBox Handler Tail @5-FCB6E20C
    }
//End MONEY TextBox Handler Tail

//Button_Submit Button Handler Head @7-9D541B86
    public class ITEMButton_SubmitButtonHandler implements ButtonListener {
//End Button_Submit Button Handler Head

//Button_Submit OnClick Method Head @7-A9885EEC
        public void onClick(Event e) {
//End Button_Submit OnClick Method Head

//Button_Submit OnClick Method Tail @7-FCB6E20C
        }
//End Button_Submit OnClick Method Tail

//Button_Submit BeforeShow Method Head @7-46046458
        public void beforeShow(Event e) {
//End Button_Submit BeforeShow Method Head

//Button_Submit BeforeShow Method Tail @7-FCB6E20C
        }
//End Button_Submit BeforeShow Method Tail

//Button_Submit Button Handler Tail @7-FCB6E20C
    }
//End Button_Submit Button Handler Tail

//Comment workaround @1-A0AAE532
%> <%
//End Comment workaround

//Processing @1-838F33E3
    Page modify_item_for_sellModel = (Page)request.getAttribute("modify_item_for_sell_page");
    Page modify_item_for_sellParent = (Page)request.getAttribute("modify_item_for_sellParent");
    if (modify_item_for_sellModel == null) {
        PageController modify_item_for_sellCntr = new PageController(request, response, application, "/modify_item_for_sell.xml", "ISO-8859-1" );
        modify_item_for_sellModel = modify_item_for_sellCntr.getPage();
        //if (modify_item_for_sellParent != null) {
            //if (!modify_item_for_sellParent.getChild(modify_item_for_sellModel.getName()).isVisible()) return;
        //}
    ((TextBox)((Component)modify_item_for_sellModel.getChild("ITEM")).getChild("MONEY")).addValidationListener(new ITEMMONEYTextBoxHandler());
        modify_item_for_sellCntr.process();
%>
<%
        if (modify_item_for_sellParent == null) {
            if (modify_item_for_sellModel.redirect()) return;
            modify_item_for_sellModel.setCookies();
        } else {
            modify_item_for_sellModel.redirect();
        }
    }
//End Processing

%>
